﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// WorkHistory:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("WorkHistory")]
	public partial class WorkHistoryInfo
	{
		public WorkHistoryInfo()
		{}
		#region Model
		private int _id;
		private int? _employeeid;
		private string _starttime;
		private string _endtime;
		private string _workcompany;
		private string _department;
		private string _job;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmployeeID")]
		public int? EmployeeID
		{
			set{ _employeeid=value;}
			get{return _employeeid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("StartTime")]
		public string StartTime
		{
			set{ _starttime=value;}
			get{return _starttime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EndTime")]
		public string EndTime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("WorkCompany")]
		public string WorkCompany
		{
			set{ _workcompany=value;}
			get{return _workcompany;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Department")]
		public string Department
		{
			set{ _department=value;}
			get{return _department;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("job")]
		public string job
		{
			set{ _job=value;}
			get{return _job;}
		}
		#endregion Model

	}
}

